package nancal.mp.db.es.table

import java.io.*
import nbcp.myoql.db.*
import nbcp.myoql.db.es.*
import nbcp.myoql.db.comm.*
import nbcp.myoql.db.enums.*
import nbcp.myoql.db.es.component.*
import nbcp.base.utils.*
import nbcp.base.extend.*
import nbcp.myoql.db.es.base.*
import org.slf4j.LoggerFactory
import org.springframework.stereotype.*


class CreditEntityStorageInfoModelMeta (private val parentPropertyName: String): EsColumnName() {
    constructor(_val: EsColumnName): this(_val.toString()) {}

    val activeMemory=esColumnJoin(this.parentPropertyName, "activeMemory")
    val deviceId=esColumnJoin(this.parentPropertyName, "deviceId")
    val freeMemory=esColumnJoin(this.parentPropertyName, "freeMemory")
    val inActiveMemory=esColumnJoin(this.parentPropertyName, "inActiveMemory")
    val internalStorageTotal=esColumnJoin(this.parentPropertyName, "internalStorageTotal")
    val internalStorageUsable=esColumnJoin(this.parentPropertyName, "internalStorageUsable")
    val memoryCardFreeSize=esColumnJoin(this.parentPropertyName, "memoryCardFreeSize")
    val memoryCardSize=esColumnJoin(this.parentPropertyName, "memoryCardSize")
    val memoryCardSizeUse=esColumnJoin(this.parentPropertyName, "memoryCardSizeUse")
    val memoryCardUsableSize=esColumnJoin(this.parentPropertyName, "memoryCardUsableSize")
    val purgableMemory=esColumnJoin(this.parentPropertyName, "purgableMemory")
    val ramTotalSize=esColumnJoin(this.parentPropertyName, "ramTotalSize")
    val ramUsableSize=esColumnJoin(this.parentPropertyName, "ramUsableSize")
    val totalMemory=esColumnJoin(this.parentPropertyName, "totalMemory")
    val usedMemory=esColumnJoin(this.parentPropertyName, "usedMemory")
    val wiredMemory=esColumnJoin(this.parentPropertyName, "wiredMemory")

    override fun toString(): String {
        return esColumnJoin(this.parentPropertyName).toString()
    }
}

